package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 校区招聘需求表
 * </p>
 *
 * @author hpiggy
 * @since 2024-12-11
 */

@TableName("adms_school_needs")
@ApiModel(value = "SchoolNeeds对象", description = "校区招聘需求表")
@Data
public class SchoolNeeds implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Integer yearPart;

    private Integer quarterNum;

    private Long schoolId;

    private Long departmentId;

    private Long stationId;

    private Integer status;

    private Long stationNeedsId;

    private Long subjectsId;

    @ApiModelProperty("需求数量")
    private Integer needCount;

    @ApiModelProperty("排序")
    private Integer sort;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    @TableField(exist = false)
    @ApiModelProperty("已分配数量")
    private Integer allocateCount;

    @TableField(exist = false)
    @ApiModelProperty("学校")
    private String schoolName;

    @TableField(exist = false)
    @ApiModelProperty("试岗通过数量")
    private Integer tryJobPassCount;

    @TableField(exist = false)
    @ApiModelProperty("试岗淘汰数量")
    private Integer tryJobNoPassCount;

    @TableField(exist = false)
    @ApiModelProperty("待招数量")
    private Integer needRecruitment;

    @TableField(exist = false)
    @ApiModelProperty("部门招数量")
    private Integer departmentCount;

    @TableField(exist = false)
    @ApiModelProperty("校区分数量")
    private Integer schoolCount;

    @TableField(exist = false)
    @ApiModelProperty("试岗中数量")
    private Integer tryJobIngCount;

    @TableField(exist = false)
    @ApiModelProperty("需求名称")
    private String stationNeedsName;

    @TableField(exist = false)
    @ApiModelProperty("部门名称")
    private String departmentName;

    @TableField(exist = false)
    @ApiModelProperty("试岗中+试岗通过的数量")
    private Integer tryJobRecruitCount;

    @TableField(exist = false)
    @ApiModelProperty("需求id")
    private String stationNeedsIds;

    @TableField(exist = false)
    private Long schoolOrDepartmentId;

    @TableField(exist = false)
    private String schoolOrDepartmentName;

    @TableField(exist = false)
    private Integer stationType;

    @TableField(exist = false)
    private Long pid;
}
